package in.iqing.view.activity;

import in.iqing.control.api.ApiHelper;
import in.iqing.control.api.callback.BookListCallback;

/**
 * Created by ZuoShu on 15/7/8.
 */
public class PressBookListActivity extends BaseBookListActivity {
    private String press;

    @Override
    protected void initializeVariable() {
        press = getIntent().getStringExtra("press");
        title.setText(press);
    }

    @Override
    protected void requestBookList(int pageSize, int pageNo, BookListCallback callback) {
        ApiHelper.getSingleton().getPressBooks(VOLLEY_TAG, press, pageSize, pageNo, callback);
    }
}
